3.477 \(\int (a+b \log (c (d+e x^{2/3})^n))^2 \, dx\)

Optimal. Leaf size=364 \[ -\frac{4 i b^2 d^{3/2} n^2 \text{PolyLog}\left (2,1-\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )}{e^{3/2}}-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2+\frac{4 a b d n \sqrt [3]{x}}{e}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}+\frac{32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{3 e^{3/2}}-\frac{8 b^2 d^{3/2} n^2 \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right ) \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{e^{3/2}}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x \]

[Out]

(4*a*b*d*n*x^(1/3))/e - (32*b^2*d*n^2*x^(1/3))/(3*e) + (8*b^2*n^2*x)/9 + (32*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[e]*x
^(1/3))/Sqrt[d]])/(3*e^(3/2)) - ((4*I)*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]]^2)/e^(3/2) - (8*b^2*d
^(3/2)*n^2*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]]*Log[(2*Sqrt[d])/(Sqrt[d] + I*Sqrt[e]*x^(1/3))])/e^(3/2) + (4*b^2*
d*n*x^(1/3)*Log[c*(d + e*x^(2/3))^n])/e - (4*b*n*x*(a + b*Log[c*(d + e*x^(2/3))^n]))/3 - (4*b*d^(3/2)*n*ArcTan
[(Sqrt[e]*x^(1/3))/Sqrt[d]]*(a + b*Log[c*(d + e*x^(2/3))^n]))/e^(3/2) + x*(a + b*Log[c*(d + e*x^(2/3))^n])^2 -
 ((4*I)*b^2*d^(3/2)*n^2*PolyLog[2, 1 - (2*Sqrt[d])/(Sqrt[d] + I*Sqrt[e]*x^(1/3))])/e^(3/2)

________________________________________________________________________________________

Rubi [A]  time = 0.446778, antiderivative size = 364, normalized size of antiderivative = 1., number of steps used = 18, number of rules used = 14, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.7, Rules used = {2451, 2457, 2476, 2448, 321, 205, 2455, 302, 2470, 12, 4920, 4854, 2402, 2315} \[ -\frac{4 i b^2 d^{3/2} n^2 \text{PolyLog}\left (2,1-\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )}{e^{3/2}}-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2+\frac{4 a b d n \sqrt [3]{x}}{e}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}+\frac{32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{3 e^{3/2}}-\frac{8 b^2 d^{3/2} n^2 \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right ) \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{e^{3/2}}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e*x^(2/3))^n])^2,x]

[Out]

(4*a*b*d*n*x^(1/3))/e - (32*b^2*d*n^2*x^(1/3))/(3*e) + (8*b^2*n^2*x)/9 + (32*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[e]*x
^(1/3))/Sqrt[d]])/(3*e^(3/2)) - ((4*I)*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]]^2)/e^(3/2) - (8*b^2*d
^(3/2)*n^2*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]]*Log[(2*Sqrt[d])/(Sqrt[d] + I*Sqrt[e]*x^(1/3))])/e^(3/2) + (4*b^2*
d*n*x^(1/3)*Log[c*(d + e*x^(2/3))^n])/e - (4*b*n*x*(a + b*Log[c*(d + e*x^(2/3))^n]))/3 - (4*b*d^(3/2)*n*ArcTan
[(Sqrt[e]*x^(1/3))/Sqrt[d]]*(a + b*Log[c*(d + e*x^(2/3))^n]))/e^(3/2) + x*(a + b*Log[c*(d + e*x^(2/3))^n])^2 -
 ((4*I)*b^2*d^(3/2)*n^2*PolyLog[2, 1 - (2*Sqrt[d])/(Sqrt[d] + I*Sqrt[e]*x^(1/3))])/e^(3/2)

Rule 2451

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_), x_Symbol] :> With[{k = Denominator[n]}, Di
st[k, Subst[Int[x^(k - 1)*(a + b*Log[c*(d + e*x^(k*n))^p])^q, x], x, x^(1/k)], x]] /; FreeQ[{a, b, c, d, e, p,
 q}, x] && FractionQ[n]

Rule 2457

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_)*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[((f*x
)^(m + 1)*(a + b*Log[c*(d + e*x^n)^p])^q)/(f*(m + 1)), x] - Dist[(b*e*n*p*q)/(f^n*(m + 1)), Int[((f*x)^(m + n)
*(a + b*Log[c*(d + e*x^n)^p])^(q - 1))/(d + e*x^n), x], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && IGtQ[q, 1]
 && IntegerQ[n] && NeQ[m, -1]

Rule 2476

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_) + (g_.)*(x_)^(s_))^(r_.),
 x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x^n)^p])^q, x^m*(f + g*x^s)^r, x], x] /; FreeQ[{a, b, c,
 d, e, f, g, m, n, p, q, r, s}, x] && IGtQ[q, 0] && IntegerQ[m] && IntegerQ[r] && IntegerQ[s]

Rule 2448

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)], x_Symbol] :> Simp[x*Log[c*(d + e*x^n)^p], x] - Dist[e*n*p, Int[
x^n/(d + e*x^n), x], x] /; FreeQ[{c, d, e, n, p}, x]

Rule 321

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^n
)^(p + 1))/(b*(m + n*p + 1)), x] - Dist[(a*c^n*(m - n + 1))/(b*(m + n*p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 205

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]*ArcTan[x/Rt[a/b, 2]])/a, x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 2455

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[((f*x)^(m
+ 1)*(a + b*Log[c*(d + e*x^n)^p]))/(f*(m + 1)), x] - Dist[(b*e*n*p)/(f*(m + 1)), Int[(x^(n - 1)*(f*x)^(m + 1))
/(d + e*x^n), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rule 302

Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Int[PolynomialDivide[x^m, a + b*x^n, x], x] /; FreeQ[{a,
b}, x] && IGtQ[m, 0] && IGtQ[n, 0] && GtQ[m, 2*n - 1]

Rule 2470

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))/((f_) + (g_.)*(x_)^2), x_Symbol] :> With[{u = In
tHide[1/(f + g*x^2), x]}, Simp[u*(a + b*Log[c*(d + e*x^n)^p]), x] - Dist[b*e*n*p, Int[(u*x^(n - 1))/(d + e*x^n
), x], x]] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && IntegerQ[n]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 4920

Int[(((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_))/((d_) + (e_.)*(x_)^2), x_Symbol] :> -Simp[(I*(a + b*ArcTan
[c*x])^(p + 1))/(b*e*(p + 1)), x] - Dist[1/(c*d), Int[(a + b*ArcTan[c*x])^p/(I - c*x), x], x] /; FreeQ[{a, b,
c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[p, 0]

Rule 4854

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[((a + b*ArcTan[c*x])^p*Lo
g[2/(1 + (e*x)/d)])/e, x] + Dist[(b*c*p)/e, Int[((a + b*ArcTan[c*x])^(p - 1)*Log[2/(1 + (e*x)/d)])/(1 + c^2*x^
2), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 + e^2, 0]

Rule 2402

Int[Log[(c_.)/((d_) + (e_.)*(x_))]/((f_) + (g_.)*(x_)^2), x_Symbol] :> -Dist[e/g, Subst[Int[Log[2*d*x]/(1 - 2*
d*x), x], x, 1/(d + e*x)], x] /; FreeQ[{c, d, e, f, g}, x] && EqQ[c, 2*d] && EqQ[e^2*f + d^2*g, 0]

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rubi steps

\begin{align*} \int \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2 \, dx &=3 \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right )^2 \, dx,x,\sqrt [3]{x}\right )\\ &=x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-(4 b e n) \operatorname{Subst}\left (\int \frac{x^4 \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right )}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )\\ &=x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-(4 b e n) \operatorname{Subst}\left (\int \left (-\frac{d \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right )}{e^2}+\frac{x^2 \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right )}{e}+\frac{d^2 \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right )}{e^2 \left (d+e x^2\right )}\right ) \, dx,x,\sqrt [3]{x}\right )\\ &=x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-(4 b n) \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right ) \, dx,x,\sqrt [3]{x}\right )+\frac{(4 b d n) \operatorname{Subst}\left (\int \left (a+b \log \left (c \left (d+e x^2\right )^n\right )\right ) \, dx,x,\sqrt [3]{x}\right )}{e}-\frac{\left (4 b d^2 n\right ) \operatorname{Subst}\left (\int \frac{a+b \log \left (c \left (d+e x^2\right )^n\right )}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )}{e}\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2+\frac{\left (4 b^2 d n\right ) \operatorname{Subst}\left (\int \log \left (c \left (d+e x^2\right )^n\right ) \, dx,x,\sqrt [3]{x}\right )}{e}+\left (8 b^2 d^2 n^2\right ) \operatorname{Subst}\left (\int \frac{x \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} \sqrt{e} \left (d+e x^2\right )} \, dx,x,\sqrt [3]{x}\right )+\frac{1}{3} \left (8 b^2 e n^2\right ) \operatorname{Subst}\left (\int \frac{x^4}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-\left (8 b^2 d n^2\right ) \operatorname{Subst}\left (\int \frac{x^2}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )+\frac{\left (8 b^2 d^{3/2} n^2\right ) \operatorname{Subst}\left (\int \frac{x \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )}{\sqrt{e}}+\frac{1}{3} \left (8 b^2 e n^2\right ) \operatorname{Subst}\left (\int \left (-\frac{d}{e^2}+\frac{x^2}{e}+\frac{d^2}{e^2 \left (d+e x^2\right )}\right ) \, dx,x,\sqrt [3]{x}\right )\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-\frac{\left (8 b^2 d n^2\right ) \operatorname{Subst}\left (\int \frac{\tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{i-\frac{\sqrt{e} x}{\sqrt{d}}} \, dx,x,\sqrt [3]{x}\right )}{e}+\frac{\left (8 b^2 d^2 n^2\right ) \operatorname{Subst}\left (\int \frac{1}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )}{3 e}+\frac{\left (8 b^2 d^2 n^2\right ) \operatorname{Subst}\left (\int \frac{1}{d+e x^2} \, dx,x,\sqrt [3]{x}\right )}{e}\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x+\frac{32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{3 e^{3/2}}-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}-\frac{8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2+\frac{\left (8 b^2 d n^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (\frac{2}{1+\frac{i \sqrt{e} x}{\sqrt{d}}}\right )}{1+\frac{e x^2}{d}} \, dx,x,\sqrt [3]{x}\right )}{e}\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x+\frac{32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{3 e^{3/2}}-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}-\frac{8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-\frac{\left (8 i b^2 d^{3/2} n^2\right ) \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1+\frac{i \sqrt{e} \sqrt [3]{x}}{\sqrt{d}}}\right )}{e^{3/2}}\\ &=\frac{4 a b d n \sqrt [3]{x}}{e}-\frac{32 b^2 d n^2 \sqrt [3]{x}}{3 e}+\frac{8}{9} b^2 n^2 x+\frac{32 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )}{3 e^{3/2}}-\frac{4 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{e^{3/2}}-\frac{8 b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )}{e^{3/2}}+\frac{4 b^2 d n \sqrt [3]{x} \log \left (c \left (d+e x^{2/3}\right )^n\right )}{e}-\frac{4}{3} b n x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )-\frac{4 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )}{e^{3/2}}+x \left (a+b \log \left (c \left (d+e x^{2/3}\right )^n\right )\right )^2-\frac{4 i b^2 d^{3/2} n^2 \text{Li}_2\left (1-\frac{2}{1+\frac{i \sqrt{e} \sqrt [3]{x}}{\sqrt{d}}}\right )}{e^{3/2}}\\ \end{align*}

Mathematica [A]  time = 0.216445, size = 319, normalized size = 0.88 \[ \frac{-36 i b^2 d^{3/2} n^2 \text{PolyLog}\left (2,\frac{\sqrt{e} \sqrt [3]{x}+i \sqrt{d}}{\sqrt{e} \sqrt [3]{x}-i \sqrt{d}}\right )+\sqrt{e} \sqrt [3]{x} \left (9 a^2 e x^{2/3}+6 b \left (3 a e x^{2/3}+6 b d n-2 b e n x^{2/3}\right ) \log \left (c \left (d+e x^{2/3}\right )^n\right )+12 a b n \left (3 d-e x^{2/3}\right )+9 b^2 e x^{2/3} \log ^2\left (c \left (d+e x^{2/3}\right )^n\right )+8 b^2 n^2 \left (e x^{2/3}-12 d\right )\right )-12 b d^{3/2} n \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right ) \left (3 a+3 b \log \left (c \left (d+e x^{2/3}\right )^n\right )+6 b n \log \left (\frac{2 \sqrt{d}}{\sqrt{d}+i \sqrt{e} \sqrt [3]{x}}\right )-8 b n\right )-36 i b^2 d^{3/2} n^2 \tan ^{-1}\left (\frac{\sqrt{e} \sqrt [3]{x}}{\sqrt{d}}\right )^2}{9 e^{3/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e*x^(2/3))^n])^2,x]

[Out]

((-36*I)*b^2*d^(3/2)*n^2*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]]^2 - 12*b*d^(3/2)*n*ArcTan[(Sqrt[e]*x^(1/3))/Sqrt[d]
]*(3*a - 8*b*n + 6*b*n*Log[(2*Sqrt[d])/(Sqrt[d] + I*Sqrt[e]*x^(1/3))] + 3*b*Log[c*(d + e*x^(2/3))^n]) + Sqrt[e
]*x^(1/3)*(12*a*b*n*(3*d - e*x^(2/3)) + 8*b^2*n^2*(-12*d + e*x^(2/3)) + 9*a^2*e*x^(2/3) + 6*b*(6*b*d*n + 3*a*e
*x^(2/3) - 2*b*e*n*x^(2/3))*Log[c*(d + e*x^(2/3))^n] + 9*b^2*e*x^(2/3)*Log[c*(d + e*x^(2/3))^n]^2) - (36*I)*b^
2*d^(3/2)*n^2*PolyLog[2, (I*Sqrt[d] + Sqrt[e]*x^(1/3))/((-I)*Sqrt[d] + Sqrt[e]*x^(1/3))])/(9*e^(3/2))

________________________________________________________________________________________

Maple [F]  time = 0.343, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b\ln \left ( c \left ( d+e{x}^{{\frac{2}{3}}} \right ) ^{n} \right ) \right ) ^{2}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*(d+e*x^(2/3))^n))^2,x)

[Out]

int((a+b*ln(c*(d+e*x^(2/3))^n))^2,x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(2/3))^n))^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (b^{2} \log \left ({\left (e x^{\frac{2}{3}} + d\right )}^{n} c\right )^{2} + 2 \, a b \log \left ({\left (e x^{\frac{2}{3}} + d\right )}^{n} c\right ) + a^{2}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(2/3))^n))^2,x, algorithm="fricas")

[Out]

integral(b^2*log((e*x^(2/3) + d)^n*c)^2 + 2*a*b*log((e*x^(2/3) + d)^n*c) + a^2, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \log{\left (c \left (d + e x^{\frac{2}{3}}\right )^{n} \right )}\right )^{2}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e*x**(2/3))**n))**2,x)

[Out]

Integral((a + b*log(c*(d + e*x**(2/3))**n))**2, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \log \left ({\left (e x^{\frac{2}{3}} + d\right )}^{n} c\right ) + a\right )}^{2}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(2/3))^n))^2,x, algorithm="giac")

[Out]

integrate((b*log((e*x^(2/3) + d)^n*c) + a)^2, x)